package cn.com.open.itembank.dto;

import cn.com.open.itembank.common.BaseModel;
import cn.com.open.itembank.common.enums.DifficultyType;


/**
 * Created by lucky on 2017/12/15.
 */
public class RuleCheckQuestionInfo extends BaseModel {
    public RuleCheckQuestionInfo() {
        this.questionId = "";
        this.questionTypeId = "";
        this.difficultyType = DifficultyType.EASY;
        this.questionCategoryId = "";
        this.isMust = false;
        this.subItemCount = 0;
    }

    /**
     * The Question id.
     */
    private String questionId;

    /**
     * The Question type id.
     */
    private String questionTypeId;

    /**
     * The Difficulty type.
     */
    private DifficultyType difficultyType;

    /**
     * The Question category id.
     */
    private String questionCategoryId;

    /**
     * The Is must.
     */
    private boolean isMust;

    /**
     * sub item count
     */
    private Integer subItemCount;

    /**
     * Gets question id.
     *
     * @return the question id
     */
    public String getQuestionId() {
        return questionId;
    }

    /**
     * Sets question id.
     *
     * @param questionId the question id
     */
    public void setQuestionId(String questionId) {
        this.questionId = questionId;
    }

    /**
     * Gets question type id.
     *
     * @return the question type id
     */
    public String getQuestionTypeId() {
        return questionTypeId;
    }

    /**
     * Sets question type id.
     *
     * @param questionTypeId the question type id
     */
    public void setQuestionTypeId(String questionTypeId) {
        this.questionTypeId = questionTypeId;
    }

    /**
     * Gets difficulty type.
     *
     * @return the difficulty type
     */
    public DifficultyType getDifficultyType() {
        return difficultyType;
    }

    /**
     * Sets difficulty type.
     *
     * @param difficultyType the difficulty type
     */
    public void setDifficultyType(DifficultyType difficultyType) {
        this.difficultyType = difficultyType;
    }

    /**
     * Gets question category id.
     *
     * @return the question category id
     */
    public String getQuestionCategoryId() {
        return questionCategoryId;
    }

    /**
     * Sets question category id.
     *
     * @param questionCategoryId the question category id
     */
    public void setQuestionCategoryId(String questionCategoryId) {
        this.questionCategoryId = questionCategoryId;
    }

    /**
     * Is must boolean.
     *
     * @return the boolean
     */
    public boolean isMust() {
        return isMust;
    }

    /**
     * Sets must.
     *
     * @param must the must
     */
    public void setMust(boolean must) {
        isMust = must;
    }

    /**
     * Gets sub item count.
     *
     * @return the sub item count
     */
    public Integer getSubItemCount() {
        return subItemCount;
    }

    /**
     * Sets sub item count.
     *
     * @param subItemCount the sub item count
     */
    public void setSubItemCount(Integer subItemCount) {
        this.subItemCount = subItemCount;
    }
}
